//
//  ParNearbyAttraction_contents.m
//  ITrip
//
//  Created by 1564335 on 15-5-29.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ParNearbyAttraction_contents.h"

@implementation ParNearbyAttraction_contents


- (instancetype)init:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.notes = [NSMutableArray array];
        self.descrip = dic[@"description"];
        NSArray *array = dic[@"notes"];
        for (NSDictionary *dic in array) {
            ParserNearbyNotes *parser = [[ParserNearbyNotes alloc] init:dic];
            [self.notes addObject:parser];
        }
    }
    return self;
}

//- (NSMutableArray *)notes
//{
//    if (!_notes) {
//        _notes = [NSMutableArray arrayWithCapacity:0];
//    }
//    return _notes;
//}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@""]) {
        
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
